package com.steve.summary.saga.编排式.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: STEVE
 * @Description: 订单取消事件，当订单需要取消时发布此事件
 * @since: 2025-05-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderCancelledEvent {

    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 取消原因
     */
    private String reason;

}
